package com.briup.day12.bean;

/**
 * @author ThinkBook
 */
public class Fu {
    private int f;

    //2个构造方法
    public Fu() {
        System.out.println("in Fu() ...");
    }
    public Fu(int f) {
        System.out.println("in Fu(int) ...");
        this.f = f;

    }

    //对应的get|set方法
    public int getF() {
        return f;
    }
    public void setF(int f) {
        this.f = f;
    }
    //默认修饰符
    void defaultFun() {
        System.out.println("in Fu, defaultFun ...");
    }
}
